<div><?base foreach="$aTest" ?><span><span><?base content="$key" ?></span>:<span><?base content="$value" ?></span></span></div>